<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="description" content="">
<meta name="author" content="">

<meta name="description" content="website description" />
<meta name="keywords" content="website keywords, website keywords" />
<meta http-equiv="Content-Type"
	content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="stylesheets/style.css" />
<title>M.B.F 记忆沙漏</title>

<!-- js -->
<script src="javascripts/jquery-1.11.2.min.js"></script>
<script src="javascripts/bootstrap.min.js"></script>
<script src="javascripts/bootstrap-submenu.min.js"></script>
<script src="javascripts/angular-1.3.0.js"></script>
<script src="javascripts/myjs.js"></script>
<script src="javascripts/personalInformation.js"></script>
<!-- css -->
<link rel="stylesheet" href="stylesheets/bootstrap.min.css">
	<link rel="stylesheet" href="stylesheets/common.css">
<link rel="stylesheet" href="stylesheets/login.css">
<link rel="stylesheet" href="stylesheets/font/font-awesome.min.css">
<link rel="Shortcut Icon" href="images/MBF_logo.ico" type="image/x-icon">
</head>

<body>
<div class="container">
	<div class="personal_information" ng-app="myLogin" ng-controller="myLoginCtrl">
		<p style="margin-bottom: 10px"><b>M.B.F</b> 个人信息</p>
		<form>
			<div class="personal_information_form">
				<b>昵称</b><input style="margin-bottom: 16px" type="text" class="form-control" placeholder="昵称" maxlength="10" size="10" ng-model="user.username">
			</div>
			<div class="personal_information_form">
				<b>性别</b>
				<label><input name="sex" style="margin-left:18px;margin-bottom: 16px" type="radio" ng-model="user.sex" value="男" />男</label>
				<label><input name="sex" style="margin-left:12px;margin-bottom: 16px" type="radio" ng-model="user.sex" value="女" />女</label> 
				
			</div>
			<div class="personal_information_form" style="margin-bottom: 10px">
				<b>生日</b>
				<div align="right" class="personal_information_date">
						<font color="#808080">
							<select id = "year" name = "year" size = "1" ng-model="user.year" ng-options="x for x in years" ng-change="yearMonthChange()">
							</select>
							<select id = "month" name = "month" size = "1" ng-model="user.month" ng-options="x for x in months" ng-change="yearMonthChange()">
							</select>
							<select id = "day" name = "day" size = "1" ng-model="user.day" ng-options="x for x in days">
							</select>
						</font>
				</div>
			</div>
			<div class="personal_information_form">
				<b>手机</b><input style="margin-bottom: 10px" type="text" class="form-control" placeholder="手机号码" maxlength="11" size="11" ng-model="user.phone">
			</div>
			<div class="personal_information_form">
				<b>邮箱</b><input type="text" class="form-control" placeholder="邮箱" maxlength="20" size="20" ng-model="user.email">
			</div>
			<div style="font-size:10px;color:red;height:30px;margin-top:-5px">{{info}}</div>
			<button class="btn save_btn" ng-click="save();">保存/Save</button><button class="btn cancel_btn" onclick="window.location.href='/main'">取消/Cancel</button>
		</form>
	</div>
</div>
</body>
</html>
